package com.example.wechat.model;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import com.example.project.annotation.Excel;
import com.example.project.core.domain.BaseEntity;

/**
 * 用户好友关系对象 t_wechat_user_contact
 * 
 * @author ruoyi
 * @date 2025-11-12
 */
public class WechatUserContact extends BaseEntity {

	private static final long serialVersionUID = 1L;

	/** 关系ID，主键 */
	private Long id;

	/** 用户ID */
	@Excel(name = "用户ID")
	private Long userId;

	/** 联系人用户ID */
	@Excel(name = "联系人用户ID")
	private Long contactId;

	/** 好友备注名 */
	@Excel(name = "好友备注名")
	private String remarkName;

	/** 关系状态：1-正常 0-删除 2-拉黑 */
	@Excel(name = "关系状态：1-正常 0-删除 2-拉黑")
	private Integer relationStatus;

	public void setId(Long id) {
		this.id = id;
	}

	public Long getId() {
		return id;
	}

	public void setUserId(Long userId) {
		this.userId = userId;
	}

	public Long getUserId() {
		return userId;
	}

	public void setContactId(Long contactId) {
		this.contactId = contactId;
	}

	public Long getContactId() {
		return contactId;
	}

	public void setRemarkName(String remarkName) {
		this.remarkName = remarkName;
	}

	public String getRemarkName() {
		return remarkName;
	}

	public void setRelationStatus(Integer relationStatus) {
		this.relationStatus = relationStatus;
	}

	public Integer getRelationStatus() {
		return relationStatus;
	}


	@Override
	public String toString() {
		return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE).append("id", getId())
				.append("userId", getUserId()).append("contactId", getContactId()).append("remarkName", getRemarkName())
				.append("relationStatus", getRelationStatus()).append("createTime", getCreateTime())
				.append("updateTime", getUpdateTime()).toString();
	}
}
